package dao;

import domain.Product;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author admin
 * @Date 2019/2/25 9:20
 */
public interface ProductDao {
    List<Product> findAll() throws SQLException;
    void delete(String pid);
    void add(Product product) throws SQLException;
}
